﻿<Window x:Class="ParsecClient.StatStopWatch"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="StatStopWatch" Width="250" WindowStyle="None" AllowsTransparency="True" Opacity="1" Topmost="True" ShowInTaskbar="False" Background="Transparent" HorizontalAlignment="Left" VerticalAlignment="Top" ResizeMode="NoResize" SizeToContent="Height">
    <Window.Resources>
        <ResourceDictionary Source="/CustomPopOutResources.xaml" />
    </Window.Resources>
    <Viewbox Name="MyViewBox" HorizontalAlignment="Left" VerticalAlignment="Top">
        <Grid MouseLeftButtonDown="DragWindow">
            <Border Style="{StaticResource BackgroundPopoutBorder}" Opacity="1" Margin="10" Name="BorderBackground" />
            <Border Style="{StaticResource BlurPopoutBorder}" Opacity="1" Margin="10" Name="BorderBlur" />
            <Border Style="{StaticResource SolidPopoutBorder}" Opacity="1" Margin="10" Name="BorderSolid" />
            <Border Style="{StaticResource ContentPopoutBorder}" Margin="10" Padding="5" MinWidth="270">
                <StackPanel>
                    <DockPanel LastChildFill="False"  Margin="0 0 0 6">
                        <Button Name="btnIncreaseOpacity" ToolTip="Increase Opacity" Click="btnIncreaseOpacity_Click" DockPanel.Dock="Left" Style="{StaticResource OverlayButton}">
                            <Path Margin="0" Stroke="#FF4acefe" Data="M3,7.5 H12 M7.5,12 V3"  StrokeThickness="2" Height="17" Width="17" />
                        </Button>
                        <Button Margin="2 0 0 0" ToolTip="Decrease Opacity" Name="btnDecreaseOpacity" Click="btnDecreaseOpacity_Click" DockPanel.Dock="Left" Style="{StaticResource OverlayButton}">
                            <Path Margin="0" Stroke="#FF4acefe" Data="M3,7.5 H12"  StrokeThickness="2" Height="17" Width="17" />
                        </Button>
                        <Button Margin="2 0 0 0" Grid.Column="2" Name="btnIncreaseSize" ToolTip="Increase Size" Click="btnIncreaseSize_Click" DockPanel.Dock="Left" Style="{StaticResource OverlayButton}">
                            <Path Margin="0" Stroke="#FF4acefe" Data="M3,7.5 H12 M7.5,12 V3"  StrokeThickness="2" Height="17" Width="17" />
                        </Button>
                        <Button Margin="2 0 0 0" Grid.Column="3" ToolTip="Decrease Size" Name="btnDecreaseSize" Click="btnDecreaseSize_Click" DockPanel.Dock="Left" Style="{StaticResource OverlayButton}">
                            <Path Margin="0" Stroke="#FF4acefe" Data="M3,7.5 H12"  StrokeThickness="2" Height="17" Width="17" />
                        </Button>
                        <TextBlock Style="{StaticResource OverlayTextBlur}" Padding="0" Margin="10 0 0 0" DockPanel.Dock="Left">Stopwatch</TextBlock>
                        <Button Margin="2 0 0 0" Name="btnClose" ToolTip="Close" DockPanel.Dock="Right" Click="btnClose_Click" Style="{StaticResource OverlayButton}">
                            <Path Stroke="#FF4acefe" StrokeThickness="2" Margin="0" Height="17" Width="17">
                                <Path.Data>
                                    <PathGeometry>
                                        <PathGeometry.Figures>
                                            <PathFigure StartPoint="3.5,3.5">
                                                <LineSegment Point="11.5,11.5"/>
                                            </PathFigure>
                                            <PathFigure StartPoint="3.5,11.5">
                                                <LineSegment Point="11.5,3.5"/>
                                            </PathFigure>
                                        </PathGeometry.Figures>
                                    </PathGeometry>
                                </Path.Data>
                            </Path>
                        </Button>
                    </DockPanel>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="*" MinWidth="65"></ColumnDefinition>
                            <ColumnDefinition Width="*" MinWidth="65"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <Button Margin="0 0 0 5" Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" ToolTip="Toggle capture of stats on/off" Name="btnToggle" Click="btnToggle_Click" DockPanel.Dock="Left" Style="{StaticResource OverlayButton}" Width="Auto" Height="26">Start</Button>
                        <TextBlock Grid.Row="1" Grid.Column="0" Margin="0 1 0 1" Style="{StaticResource OverlayTextBig}">Combat Time</TextBlock>
                        <TextBlock Grid.Row="2" Grid.Column="0" Margin="0 1 0 1" Style="{StaticResource OverlayTextRedBig}" ToolTip="Total Damage | DPS">Damage Dealt</TextBlock>
                        <TextBlock Grid.Row="3" Grid.Column="0" Margin="0 1 0 1" Style="{StaticResource OverlayTextGreenBig}" ToolTip="Total Heal | HPS">Healing Done</TextBlock>
                        <TextBlock Grid.Row="4" Grid.Column="0" Margin="0 1 0 1" Style="{StaticResource OverlayTextGreenBig}" ToolTip="Effective % | EHPS">Effective Healing</TextBlock>
                        <TextBlock Grid.Row="5" Grid.Column="0" Margin="0 1 0 1" Style="{StaticResource OverlayTextBig}" ToolTip="Total Damage | DPS">Damage Taken</TextBlock>
                        <TextBlock Grid.Row="6" Grid.Column="0" Margin="0 1 0 1" Style="{StaticResource OverlayTextBig}" ToolTip="Total Heal | HPS">Healing Received</TextBlock>
                        <TextBlock Grid.Row="1" Grid.Column="1" Margin="3 1 0 1" HorizontalAlignment="Right" Grid.ColumnSpan="2"  Name="lblLengthValue" Style="{StaticResource OverlayTextBig}"></TextBlock>
                        <TextBlock Grid.Row="2" Grid.Column="1" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblDamageOutValue" Style="{StaticResource OverlayTextRedBig}" ToolTip="Total Damage"></TextBlock>
                        <TextBlock Grid.Row="2" Grid.Column="2" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblDamageOutValue2" Style="{StaticResource OverlayTextRedBig}" ToolTip="DPS" FontWeight="Bold"></TextBlock>
                        <TextBlock Grid.Row="3" Grid.Column="1" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblHealsOutValue" Style="{StaticResource OverlayTextGreenBig}" ToolTip="Total Heal"></TextBlock>
                        <TextBlock Grid.Row="3" Grid.Column="2" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblHealsOutValue2" Style="{StaticResource OverlayTextGreenBig}" ToolTip="HPS" FontWeight="Bold"></TextBlock>
                        <TextBlock Grid.Row="4" Grid.Column="1" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblHealsOutValue3" Style="{StaticResource OverlayTextGreenBig}" ToolTip="Effective %"></TextBlock>
                        <TextBlock Grid.Row="4" Grid.Column="2" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblHealsOutValue4" Style="{StaticResource OverlayTextGreenBig}" ToolTip="EHPS" FontWeight="Bold"></TextBlock>
                        <TextBlock Grid.Row="5" Grid.Column="1" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblDamageInValue" Style="{StaticResource OverlayTextBig}" ToolTip="Total Damage"></TextBlock>
                        <TextBlock Grid.Row="5" Grid.Column="2" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblDamageInValue2" Style="{StaticResource OverlayTextBig}" ToolTip="DPS" FontWeight="Bold"></TextBlock>
                        <TextBlock Grid.Row="6" Grid.Column="1" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblHealsInValue" Style="{StaticResource OverlayTextBig}" ToolTip="Total Heal"></TextBlock>
                        <TextBlock Grid.Row="6" Grid.Column="2" Margin="3 1 0 1" HorizontalAlignment="Right" Name="lblHealsInValue2" Style="{StaticResource OverlayTextBig}" ToolTip="HPS" FontWeight="Bold"></TextBlock>
                    </Grid>
                </StackPanel>
            </Border>
        </Grid>
    </Viewbox>
</Window>
